\hypertarget{class_value}{\section{Value Class Reference}
\label{class_value}\index{Value@{Value}}
}


Store a value from any kind.  




{\ttfamily \#include $<$Value.\+h$>$}

\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_value_abc2a5a2e6484fac66dae2539cc955667}{Value} ()
\begin{DoxyCompactList}\small\item\em Constructor. \end{DoxyCompactList}\item 
\hyperlink{class_value_a3a578f458da8a4ab67052dba0f7bffdd}{$\sim$\+Value} ()
\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
void \hyperlink{class_value_a7f7aaf68c2feb8b3f6838dd6ae921749}{Set\+Value\+From\+String} (std\+::string \hyperlink{class_value_a00d43695c6292733de55f6f445a03c9d}{str})
\begin{DoxyCompactList}\small\item\em Set the value from string. \end{DoxyCompactList}\item 
void \hyperlink{class_value_af29c8e586d2d761babe265d2837c74ca}{Set\+Value\+From\+Number} (double \hyperlink{class_value_ae38a14048b4d24af576ef4e3ad133b1b}{number})
\begin{DoxyCompactList}\small\item\em Set the value from number. \end{DoxyCompactList}\item 
void \hyperlink{class_value_acf63d39f12d1236ce8211cc952784642}{Set\+Value\+From\+Op\+Comp} (\hyperlink{_common_8h_a02f6dd32782c1a8ed2f2af208900b904}{Comp\+Op} op)
\begin{DoxyCompactList}\small\item\em Set the value from comparation operator. \end{DoxyCompactList}\item 
void \hyperlink{class_value_adaabfb5a1e2d3715666d24f4451fe60b}{Set\+Value\+From\+Op\+Logic} (\hyperlink{_common_8h_a27fa1414f26d1f05439ab10db64bea6f}{Logic\+Op} op)
\begin{DoxyCompactList}\small\item\em Set the value from a logic operator. \end{DoxyCompactList}\item 
void \hyperlink{class_value_a18aea15dec3613a770822901182c0aff}{Set\+Value\+From\+Op\+Arit} (\hyperlink{_common_8h_a6e38272a1ae7640573f5ca983278fa08}{Arith\+Op} op)
\begin{DoxyCompactList}\small\item\em Set the value from an arithmetic operator. \end{DoxyCompactList}\item 
void \hyperlink{class_value_afabdcfbd101f7ceccc921ab60656f881}{Get\+Value} (\hyperlink{_common_8h_a7b97d4a9bb8e67a5f5257fe024b6a595}{Type} type, void $\ast$val)
\begin{DoxyCompactList}\small\item\em Get the value from a given type. \end{DoxyCompactList}\item 
void \hyperlink{class_value_a4d1272bd66b61b54b380e4d828801479}{Print\+Value} (\hyperlink{_common_8h_a7b97d4a9bb8e67a5f5257fe024b6a595}{Type} type)
\begin{DoxyCompactList}\small\item\em Print on console the value by type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{class_value_a3b82f1e9c65601985a27e42b2b8746ff}{Set\+Value} (\hyperlink{_common_8h_a7b97d4a9bb8e67a5f5257fe024b6a595}{Type} type, void $\ast$val)
\begin{DoxyCompactList}\small\item\em Set value from a void pointer by type. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Private Attributes}
\begin{DoxyCompactItemize}
\item 
double \hyperlink{class_value_ae38a14048b4d24af576ef4e3ad133b1b}{number}
\begin{DoxyCompactList}\small\item\em number value \end{DoxyCompactList}\item 
string \hyperlink{class_value_a00d43695c6292733de55f6f445a03c9d}{str}
\begin{DoxyCompactList}\small\item\em string value \end{DoxyCompactList}\item 
\hyperlink{_common_8h_a02f6dd32782c1a8ed2f2af208900b904}{Comp\+Op} \hyperlink{class_value_a5bdb0c28052e3cb54d33a2fc99cae0c3}{comp\+Op}
\begin{DoxyCompactList}\small\item\em comparation operator value \end{DoxyCompactList}\item 
\hyperlink{_common_8h_a27fa1414f26d1f05439ab10db64bea6f}{Logic\+Op} \hyperlink{class_value_ac9bc4c7005ff0e62f8eec7cd4169abb2}{logic\+Op}
\begin{DoxyCompactList}\small\item\em logic operator value \end{DoxyCompactList}\item 
\hyperlink{_common_8h_a6e38272a1ae7640573f5ca983278fa08}{Arith\+Op} \hyperlink{class_value_aad94dc212bf4b329a1b21c7f501d9a60}{arith\+Op}
\begin{DoxyCompactList}\small\item\em arithmetic operator value \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Store a value from any kind. 

\begin{DoxyAuthor}{Author}
Caio Arce Nishibe (\href{mailto:caionishibe@gmail.com}{\tt caionishibe@gmail.\+com}) 
\end{DoxyAuthor}
\begin{DoxyDate}{Date}
August, 2014 
\end{DoxyDate}


\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_value_abc2a5a2e6484fac66dae2539cc955667}{\index{Value@{Value}!Value@{Value}}
\index{Value@{Value}!Value@{Value}}
\subsubsection[{Value}]{\setlength{\rightskip}{0pt plus 5cm}Value\+::\+Value (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_value_abc2a5a2e6484fac66dae2539cc955667}


Constructor. 

\hypertarget{class_value_a3a578f458da8a4ab67052dba0f7bffdd}{\index{Value@{Value}!````~Value@{$\sim$\+Value}}
\index{````~Value@{$\sim$\+Value}!Value@{Value}}
\subsubsection[{$\sim$\+Value}]{\setlength{\rightskip}{0pt plus 5cm}Value\+::$\sim$\+Value (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{class_value_a3a578f458da8a4ab67052dba0f7bffdd}


Destructor. 



\subsection{Member Function Documentation}
\hypertarget{class_value_afabdcfbd101f7ceccc921ab60656f881}{\index{Value@{Value}!Get\+Value@{Get\+Value}}
\index{Get\+Value@{Get\+Value}!Value@{Value}}
\subsubsection[{Get\+Value}]{\setlength{\rightskip}{0pt plus 5cm}void Value\+::\+Get\+Value (
\begin{DoxyParamCaption}
\item[{{\bf Type}}]{type, }
\item[{void $\ast$}]{val}
\end{DoxyParamCaption}
)}}\label{class_value_afabdcfbd101f7ceccc921ab60656f881}


Get the value from a given type. 


\begin{DoxyParams}{Parameters}
{\em type} & type of the value \\
\hline
{\em val} & pointer to the value to be returned \\
\hline
\end{DoxyParams}
\hypertarget{class_value_a4d1272bd66b61b54b380e4d828801479}{\index{Value@{Value}!Print\+Value@{Print\+Value}}
\index{Print\+Value@{Print\+Value}!Value@{Value}}
\subsubsection[{Print\+Value}]{\setlength{\rightskip}{0pt plus 5cm}void Value\+::\+Print\+Value (
\begin{DoxyParamCaption}
\item[{{\bf Type}}]{type}
\end{DoxyParamCaption}
)}}\label{class_value_a4d1272bd66b61b54b380e4d828801479}


Print on console the value by type. 


\begin{DoxyParams}{Parameters}
{\em type} & value type \\
\hline
\end{DoxyParams}
\hypertarget{class_value_a3b82f1e9c65601985a27e42b2b8746ff}{\index{Value@{Value}!Set\+Value@{Set\+Value}}
\index{Set\+Value@{Set\+Value}!Value@{Value}}
\subsubsection[{Set\+Value}]{\setlength{\rightskip}{0pt plus 5cm}void Value\+::\+Set\+Value (
\begin{DoxyParamCaption}
\item[{{\bf Type}}]{type, }
\item[{void $\ast$}]{val}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{class_value_a3b82f1e9c65601985a27e42b2b8746ff}


Set value from a void pointer by type. 


\begin{DoxyParams}{Parameters}
{\em type} & value type \\
\hline
{\em val} & pointer to the value \\
\hline
\end{DoxyParams}
\hypertarget{class_value_af29c8e586d2d761babe265d2837c74ca}{\index{Value@{Value}!Set\+Value\+From\+Number@{Set\+Value\+From\+Number}}
\index{Set\+Value\+From\+Number@{Set\+Value\+From\+Number}!Value@{Value}}
\subsubsection[{Set\+Value\+From\+Number}]{\setlength{\rightskip}{0pt plus 5cm}void Value\+::\+Set\+Value\+From\+Number (
\begin{DoxyParamCaption}
\item[{double}]{number}
\end{DoxyParamCaption}
)}}\label{class_value_af29c8e586d2d761babe265d2837c74ca}


Set the value from number. 


\begin{DoxyParams}{Parameters}
{\em number} & number value \\
\hline
\end{DoxyParams}
\hypertarget{class_value_a18aea15dec3613a770822901182c0aff}{\index{Value@{Value}!Set\+Value\+From\+Op\+Arit@{Set\+Value\+From\+Op\+Arit}}
\index{Set\+Value\+From\+Op\+Arit@{Set\+Value\+From\+Op\+Arit}!Value@{Value}}
\subsubsection[{Set\+Value\+From\+Op\+Arit}]{\setlength{\rightskip}{0pt plus 5cm}void Value\+::\+Set\+Value\+From\+Op\+Arit (
\begin{DoxyParamCaption}
\item[{{\bf Arith\+Op}}]{op}
\end{DoxyParamCaption}
)}}\label{class_value_a18aea15dec3613a770822901182c0aff}


Set the value from an arithmetic operator. 


\begin{DoxyParams}{Parameters}
{\em op} & arithmetic operator value \\
\hline
\end{DoxyParams}
\hypertarget{class_value_acf63d39f12d1236ce8211cc952784642}{\index{Value@{Value}!Set\+Value\+From\+Op\+Comp@{Set\+Value\+From\+Op\+Comp}}
\index{Set\+Value\+From\+Op\+Comp@{Set\+Value\+From\+Op\+Comp}!Value@{Value}}
\subsubsection[{Set\+Value\+From\+Op\+Comp}]{\setlength{\rightskip}{0pt plus 5cm}void Value\+::\+Set\+Value\+From\+Op\+Comp (
\begin{DoxyParamCaption}
\item[{{\bf Comp\+Op}}]{op}
\end{DoxyParamCaption}
)}}\label{class_value_acf63d39f12d1236ce8211cc952784642}


Set the value from comparation operator. 


\begin{DoxyParams}{Parameters}
{\em op} & comparation operator value \\
\hline
\end{DoxyParams}
\hypertarget{class_value_adaabfb5a1e2d3715666d24f4451fe60b}{\index{Value@{Value}!Set\+Value\+From\+Op\+Logic@{Set\+Value\+From\+Op\+Logic}}
\index{Set\+Value\+From\+Op\+Logic@{Set\+Value\+From\+Op\+Logic}!Value@{Value}}
\subsubsection[{Set\+Value\+From\+Op\+Logic}]{\setlength{\rightskip}{0pt plus 5cm}void Value\+::\+Set\+Value\+From\+Op\+Logic (
\begin{DoxyParamCaption}
\item[{{\bf Logic\+Op}}]{op}
\end{DoxyParamCaption}
)}}\label{class_value_adaabfb5a1e2d3715666d24f4451fe60b}


Set the value from a logic operator. 


\begin{DoxyParams}{Parameters}
{\em op} & logic operator value \\
\hline
\end{DoxyParams}
\hypertarget{class_value_a7f7aaf68c2feb8b3f6838dd6ae921749}{\index{Value@{Value}!Set\+Value\+From\+String@{Set\+Value\+From\+String}}
\index{Set\+Value\+From\+String@{Set\+Value\+From\+String}!Value@{Value}}
\subsubsection[{Set\+Value\+From\+String}]{\setlength{\rightskip}{0pt plus 5cm}void Value\+::\+Set\+Value\+From\+String (
\begin{DoxyParamCaption}
\item[{std\+::string}]{str}
\end{DoxyParamCaption}
)}}\label{class_value_a7f7aaf68c2feb8b3f6838dd6ae921749}


Set the value from string. 


\begin{DoxyParams}{Parameters}
{\em str} & string value \\
\hline
\end{DoxyParams}


\subsection{Member Data Documentation}
\hypertarget{class_value_aad94dc212bf4b329a1b21c7f501d9a60}{\index{Value@{Value}!arith\+Op@{arith\+Op}}
\index{arith\+Op@{arith\+Op}!Value@{Value}}
\subsubsection[{arith\+Op}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Arith\+Op} Value\+::arith\+Op\hspace{0.3cm}{\ttfamily [private]}}}\label{class_value_aad94dc212bf4b329a1b21c7f501d9a60}


arithmetic operator value 

\hypertarget{class_value_a5bdb0c28052e3cb54d33a2fc99cae0c3}{\index{Value@{Value}!comp\+Op@{comp\+Op}}
\index{comp\+Op@{comp\+Op}!Value@{Value}}
\subsubsection[{comp\+Op}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Comp\+Op} Value\+::comp\+Op\hspace{0.3cm}{\ttfamily [private]}}}\label{class_value_a5bdb0c28052e3cb54d33a2fc99cae0c3}


comparation operator value 

\hypertarget{class_value_ac9bc4c7005ff0e62f8eec7cd4169abb2}{\index{Value@{Value}!logic\+Op@{logic\+Op}}
\index{logic\+Op@{logic\+Op}!Value@{Value}}
\subsubsection[{logic\+Op}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Logic\+Op} Value\+::logic\+Op\hspace{0.3cm}{\ttfamily [private]}}}\label{class_value_ac9bc4c7005ff0e62f8eec7cd4169abb2}


logic operator value 

\hypertarget{class_value_ae38a14048b4d24af576ef4e3ad133b1b}{\index{Value@{Value}!number@{number}}
\index{number@{number}!Value@{Value}}
\subsubsection[{number}]{\setlength{\rightskip}{0pt plus 5cm}double Value\+::number\hspace{0.3cm}{\ttfamily [private]}}}\label{class_value_ae38a14048b4d24af576ef4e3ad133b1b}


number value 

\hypertarget{class_value_a00d43695c6292733de55f6f445a03c9d}{\index{Value@{Value}!str@{str}}
\index{str@{str}!Value@{Value}}
\subsubsection[{str}]{\setlength{\rightskip}{0pt plus 5cm}string Value\+::str\hspace{0.3cm}{\ttfamily [private]}}}\label{class_value_a00d43695c6292733de55f6f445a03c9d}


string value 



The documentation for this class was generated from the following files\+:\begin{DoxyCompactItemize}
\item 
C\+:/\+Users/\+Caio/\+Dropbox/\+Mestrado/agents-\/language/\+Compiladores/\+Compiladores/\hyperlink{_value_8h}{Value.\+h}\item 
C\+:/\+Users/\+Caio/\+Dropbox/\+Mestrado/agents-\/language/\+Compiladores/\+Compiladores/\hyperlink{_value_8cpp}{Value.\+cpp}\end{DoxyCompactItemize}
